<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>Dart : Libraries : box2d : Settings</title>
</head>

<body>

<header></header>

<h1 id="title">class <a name='Settings::Settings'>Settings</a></h1>

<section id="inheritance">

<section class="supertype">
<h2>Supertype:</h2>
<ul><li>Object</li></ul>
</section>

</section>

<section id="summary">

 Global tuning constants based on MKS units and various integer
 maximums(vertices per shape, pairs, etc.).
</section>

<section id="fields">
<h2>Fields</h2>
<dl>
<dt>
<span class="field-type"><code>&lt;dynamic&gt;</code></span>
<span class="field-name"><code><a name='Settings::ANGULAR_SLEEP_TOLERANCE'>ANGULAR_SLEEP_TOLERANCE
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code>&lt;dynamic&gt;</code></span>
<span class="field-name"><code><a name='Settings::ANGULAR_SLOP'>ANGULAR_SLOP
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Settings::BIG_NUMBER'>BIG_NUMBER
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='double.html#double::double'>double</a></code></code></span>
<span class="field-name"><code><a name='Settings::BOUNDING_BOX_EXTENSION'>BOUNDING_BOX_EXTENSION
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Settings::BOUNDING_BOX_MULTIPLIER'>BOUNDING_BOX_MULTIPLIER
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='double.html#double::double'>double</a></code></code></span>
<span class="field-name"><code><a name='Settings::CONTACT_BAUMGARTE'>CONTACT_BAUMGARTE
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Settings::CONTACT_STACK_INIT_SIZE'>CONTACT_STACK_INIT_SIZE
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='double.html#double::double'>double</a></code></code></span>
<span class="field-name"><code><a name='Settings::EPSILON'>EPSILON
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='double.html#double::double'>double</a></code></code></span>
<span class="field-name"><code><a name='Settings::LINEAR_SLEEP_TOLERANCE'>LINEAR_SLEEP_TOLERANCE
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='double.html#double::double'>double</a></code></code></span>
<span class="field-name"><code><a name='Settings::LINEAR_SLOP'>LINEAR_SLOP
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code>&lt;dynamic&gt;</code></span>
<span class="field-name"><code><a name='Settings::MAX_ANGULAR_CORRECTION'>MAX_ANGULAR_CORRECTION
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Settings::MAX_INTEGER'>MAX_INTEGER
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='double.html#double::double'>double</a></code></code></span>
<span class="field-name"><code><a name='Settings::MAX_LINEAR_CORRECTION'>MAX_LINEAR_CORRECTION
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Settings::MAX_MANIFOLD_POINTS'>MAX_MANIFOLD_POINTS
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Settings::MAX_POLYGON_VERTICES'>MAX_POLYGON_VERTICES
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code>&lt;dynamic&gt;</code></span>
<span class="field-name"><code><a name='Settings::MAX_ROTATION'>MAX_ROTATION
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code>&lt;dynamic&gt;</code></span>
<span class="field-name"><code><a name='Settings::MAX_ROTATION_SQUARED'>MAX_ROTATION_SQUARED
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Settings::MAX_TIME_OF_IMPACT_CONTACTS'>MAX_TIME_OF_IMPACT_CONTACTS
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='double.html#double::double'>double</a></code></code></span>
<span class="field-name"><code><a name='Settings::MAX_TRANSLATION'>MAX_TRANSLATION
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code>&lt;dynamic&gt;</code></span>
<span class="field-name"><code><a name='Settings::MAX_TRANSLATION_SQUARED'>MAX_TRANSLATION_SQUARED
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code>&lt;dynamic&gt;</code></span>
<span class="field-name"><code><a name='Settings::POLYGON_RADIUS'>POLYGON_RADIUS
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='double.html#double::double'>double</a></code></code></span>
<span class="field-name"><code><a name='Settings::SMALL_NUMBER'>SMALL_NUMBER
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='double.html#double::double'>double</a></code></code></span>
<span class="field-name"><code><a name='Settings::TIME_TO_SLEEP'>TIME_TO_SLEEP
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Settings::TREE_REBALANCE_STEPS'>TREE_REBALANCE_STEPS
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Settings::VELOCITY_THRESHOLD'>VELOCITY_THRESHOLD
</a></code></span>
</dt>
<dd>
</dd>
</dl>
</section>

<section id="constructors">
</section>

<section id="methods">
<h2>Methods</h2>
<dl>
<dt>
<code>static <code><a href='num.html#num::num'>num</a></code> <a name='Settings::mixFriction'>mixFriction</a>(<code><a href='num.html#num::num'>num</a></code> <a name='Settings::mixFriction::friction1'>friction1</a>, <code><a href='num.html#num::num'>num</a></code> <a name='Settings::mixFriction::friction2'>friction2</a>)</code></dt>
<dd>

 Friction mixing law.
</dd>
<dt>
<code>static <code><a href='num.html#num::num'>num</a></code> <a name='Settings::mixRestitution'>mixRestitution</a>(<code><a href='num.html#num::num'>num</a></code> <a name='Settings::mixRestitution::restitution1'>restitution1</a>, <code><a href='num.html#num::num'>num</a></code> <a name='Settings::mixRestitution::restitution2'>restitution2</a>)</code></dt>
<dd>

 Restitution mixing law.
</dd>
</dl>
</section>

<footer></footer>

</body></html>
